import request from '@/utils/request'

const logUrl = '/system/log'

export function listSysLogByPage(data, page, size) {
  return request({
    url: `${logUrl}/listSysLogByPage/` + page + '/' + size,
    method: 'post',
    data: data
  })
}

export function delAllSysLog() {
  return request({
    url: `${logUrl}/delAllSysLog`,
    method: 'delete'
  })
}

export default {
  listSysLogByPage,
  delAllSysLog
}
